﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Data.Entity.ModelConfiguration;

namespace WebApi.Models
{
    [Table("Receipts")]
    public class Receipts : EntityTypeConfiguration<Receipts>  /*发票*/
    {
        [Key]
        public int ID { set; get; }      /*1、排序*/
        public string Ord_Id { set; get; }     /*2、订单号*/
        public string Rec_Id { set; get; }     /*3、发票编号*/
        public int Rec_Choice { set; get; }     /*4、购买方*/
        public string Rec_Number { set; get; }     /*5、税号*/
        public string Rec_Corporation { set; get; }     /*6、公司名称*/
        public string Rec_Address { set; get; }     /*7、地址*/
        public string Rec_Phone { set; get; }     /*8、电话*/
        public string Rec_Bank { set; get; }     /*9、开户银行*/
        public string Rec_Account { set; get; }     /*10、账户*/
    }
}